package cn.fraudmetrix.forseti.dal.mysql.dao.${basePackage};

import cn.fraudmetrix.forseti.dal.mysql.object.${basePackage}.${className};
import cn.fraudmetrix.forseti.dal.mysql.dto.${basePackage}.${className}SearchDTO;

/**
* @Author: smili
*/
public interface ${className}Dao{

    int deleteByPrimaryKey(String ${pkName});

    int insert(${className}DO record);

    int insertSelective(${className}DO record);

    ${className}DO selectByPrimaryKey(String ${pkName});

    int updateByPrimaryKeySelective(${className}DO record);

    int updateByPrimaryKey(${className}DO record);

    void deleteByUpdate(Map<String,Object> map);

    //TODO修改Mapper
    List<${className}DO> selectPage(${className}SearchDTO ${lowerClassName}SearchDTO);


}
